<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>强生闪光日</title>
    <script src="weixin/jweixin-1.0.0.js"></script>
    <script src="weixin/js.php"></script>
</head>

<body>
    <noscript>
        <strong>We're sorry but qs_qs doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <audio style="display:none; height: 0" id="bg-music" preload="auto" src="common/bgm.mp3" loop="loop"></audio>
    <script>
        function musicInWeixinHandler() {
            musicPlay(true);
            document.addEventListener("WeixinJSBridgeReady", function() {
                musicPlay(true);
            }, false);
            document.removeEventListener('DOMContentLoaded', musicInWeixinHandler);
        }
        document.addEventListener('DOMContentLoaded', musicInWeixinHandler);

        function musicPlay(isPlay) {
            var media = document.querySelector('#bg-music');
            if (isPlay && media.paused) {
                media.play();
            }
            if (!isPlay && !media.paused) {
                media.pause();
            }
        }
    </script>
    <!-- built files will be auto injected -->
    <div style="display: none">
        <script type="text/javascript" src="https://s9.cnzz.com/z_stat.php?id=1278042174&web_id=1278042174"></script>
    </div>
</body>

</html>